/*
 * @Description: 
 * @Version: 2.0
 * @Autor: ycw
 * @Date: 2022-02-16 12:08:33
 * @LastEditors: ycw
 * @LastEditTime: 2022-02-16 12:11:34
 */
import https from '@/utils/https'

// 查询在线用户列表
export const list = (query) => {
  return https({
    url: '/system/online/list',
    method: 'get',
    params: query
  })
}

// 强退用户
export const forceLogout = (tokenId) => {
  return https({
    url: '/system/online/' + tokenId,
    method: 'delete'
  })
}
